package de.koller.aframe.plain.rasterOperations;

import de.koller.oceanFramework.gl.util.RasterManager;

public class RasterOperations {

	public static void add( RasterManager plain, RasterManager toAdd, int x, int y ) {
		for( int rx = 0; rx < toAdd.getWidth(); rx++ )
			for( int ry = 0; ry < toAdd.getHeight(); ry++ )
				plain.setPixel( toAdd.colorAt( rx, ry ), rx+x, ry+y );
	}
	
}
